home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / util / sys / 68040Lib.lha / 68040Lib / Include / mmu_lib.fd < prev   
Text File  |  2000-03-26  |  3KB  |  90 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 41.1                            --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 40.50:    Final release,    31 Oct 1999, Thomas Richter    --
  11. *-- 41.1:            28 Nov 1999, Thomas Richter    --
  12. *-- 42.0:            25 Mar 2000, Thomas Richter    --
  13. *-----------------------------------------------------------------
  14. ##base _MMUBase
  15. ##bias 30
  16. ##public
  17. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  18. GetMapping(ctx)(a0)
  19. ReleaseMapping(ctx,list)(a0,a1)
  20. GetPageSize(ctx)(a0)
  21. GetMMUType()()
  22. ##private
  23. GetMMUConfig()()
  24. ReleaseMMUConfig(mfc)(a1)
  25. ##public
  26. LockMMUContext(ctx)(a0)
  27. UnlockMMUContext(ctx)(a0)
  28. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  29. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  30. RebuildTree(ctx)(a0)
  31. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  32. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  33. CreateMMUContextA(tags)(a0)
  34. DeleteMMUContext(ctx)(a0)
  35. ##private
  36. AllocLineMem(bytesize,reqments)(d0,d1)
  37. ##public
  38. AllocLineVec(bytesize,reqments)(d0,d1)
  39. PhysicalPageLocation(ctx,addr)(a0,a1)
  40. SuperContext(ctx)(a0)
  41. DefaultContext()()
  42. EnterMMUContext(ctx,task)(a0,a1)
  43. LeaveMMUContext(task)(a1)
  44. AddContextHookA(tags)(a0)
  45. RemContextHook(hook)(a1)
  46. AddMessageHookA(tags)(a0)
  47. RemMessageHook(hook)(a1)
  48. ActivateException(hook)(a1)
  49. DeactivateException(hook)(a1)
  50. AttemptLockMMUContext(ctx)(a0)
  51. LockContextList()()
  52. UnlockContextList()()
  53. AttemptLockContextList()()
  54. SetPropertyList(ctx,list)(a0,a1)
  55. TouchPropertyList(list)(a1)
  56. CurrentContext(task)(a1)
  57. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  58. DMATerminate(ctx)(d1)
  59. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  60. RemapSize(ctx)(a0)
  61. WithoutMMU(func)(a5)
  62. SetBusError(func,oldfuncptr)(a0,a1)
  63. GetMMUContextData(ctx,tagid)(a0,d0)
  64. SetMMUContextDataA(ctx,tags)(a0,a1)
  65. NewMapping()()
  66. CopyMapping(from,to,base,length,mask)(a0,a1,d0,d1,d2)
  67. DupMapping(list)(a0)
  68. CopyContextRegion(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  69. SetPropertiesMapping(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  70. SetMappingPropertiesA(list,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  71. GetMappingPropertiesA(list,lower,tags)(a0,a1,a2)
  72. BuildIndirect(ctx,address,props)(a0,d0,d1)
  73. SetIndirect(destination,logical,descriptor)(a0,a1,d0)
  74. GetIndirect(ctx,adt,address)(a0,a1,d0)
  75. ##private
  76. ** VMM support functions
  77. SwitchControl(oldswitch)(a0)
  78. ##public
  79. ** New for V41
  80. RebuildTreesA(ctxptr)(a0)
  81. ** New for V42
  82. RunOldConfig(func)(a5)
  83. SetIndirectArray(destination,descriptor,number)(a0,a1,d0)
  84. ##private
  85. reserved1()()
  86. reserved2()()
  87. reserved3()()
  88. reserved4()()
  89. ##end
  90.